<?php
/**
 * This file is part from Ewuroweb Shop
 *
 * @package 
 * @author Ivan I. Atanasov <i.atanasov@viscomp.bg>
 */

//require_once(dirname(__FILE__).'/core/viswebtestcase.php');
require_once 'SimpleTest/test_case.php';

class VisSeleniumTestSuite extends TestSuite {
    
    /**
     * Default Constructor
     * 
     * @param string $label
     * @return VisSeleniumTestSuite
     */
    function __construct($label = false) {
        parent::__construct($label);
    }
    //=====================================================================================
    
    /**
     * Add a VisSeleniumXml object
     * 
     * @param VisSeleniumXml $xml
     * @return void
     */
    function addXml(VisSeleniumXml $xml) {
        $testCases = $xml->testCases();
        
        foreach($testCases as $tc) {
            $this->_test_cases[] = $tc;
        }
    }
    //=====================================================================================
    
}